
package com.hc.quartz;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.hc.util.OtherUtils;

@Component
public class QuartzTask {
	@Scheduled(cron="0 0 23 * * ?")
	public void run(){
		System.err.println("test:"+OtherUtils.getCurrentDate());
	}
}

